package com.example.deepschool.Model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class Order {
	
	@Schema(description = "订单ID")
    private Long id;
	
	@Schema(description = "订单标题")
	private String title;
	
	@Schema(description = "购买用户的ID")
    private Long userId;
	
	@Schema(description = "关联的课程ID")
    private Long courseId;
	
	@Schema(description = "订单状态：待支付、已支付、已取消")
    private String status;
	
	@Schema(description = "支付金额")
    private double amountPaid;
	
	@Schema(description = "订单创建时间")
    private java.sql.Timestamp creationTime;
}
